//
//  TBRUnLoginViewC.m
//  TBRentClient
//
//  Created by tonbright on 2018/5/2.
//  Copyright © 2018年 tonbright. All rights reserved.
//

#import "TBRUnLoginViewC.h"
#import "BaseNavigationController.h"
#import "TBRLoginController.h"

@interface TBRUnLoginViewC ()

@end

@implementation TBRUnLoginViewC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    // Do any additional setup after loading the view from its nib.
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:YES animated:YES];
    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault animated:YES];
}

- (IBAction)loginBtnClick:(UIButton *)sender {
//    [weakSelf.conditionVC.view removeFromSuperview];
//    [weakSelf.conditionVC removeFromParentViewController];
    
//    LoginViewController *loginC = [[LoginViewController alloc] init];
//
//    [self presentViewController:loginC animated:YES completion:nil];
//    TBRLoginController *loginC = [[TBRLoginController alloc] init];
//    BaseNavigationController *loginNav = [[BaseNavigationController alloc] initWithRootViewController:loginC];
//    [self presentViewController:loginNav animated:YES completion:nil];
    if (self.unLoginViewBlock) {
        self.unLoginViewBlock();
    }
}


@end
